/**
 * Created by apple on 17/4/12.
 */
var http = require("http");

var server =http.createServer(function (req, res) {
    if(req.url.startsWith("/login")){
        //处理登陆
    }else {
        res.setHeader("Content-Type","text/html");
        res.end("<html>登陆界面的html</html>");

    }
});